<template>
	<div class="hello-world">
		<h1>我是HelloWorld组件</h1>
		<h1>欢迎来到{{school}}，学习{{subject}}</h1>
	</div>
</template>

<script>
	export default {
		name:'HelloWorld',
		data() {
			return {
				school:'尚硅谷',
				subject:'前端'
			}
		},
	}
</script>

<style>
	.hello-world{
		background-color: skyblue;
		padding: 20px;
	}
</style>